<template>
    <!-- 主体导航组件 -->
    <div class="nav">
        <!-- 全场模板 -->
        <div class="nav-1">
            <img src="../../public/log_img/0yuan.webp" alt="" class="im1">
        </div>
        <!-- 搜索框 -->
        <div class="nav-2">
            <div class="search-box">
                <div class="box_inp">全部 <el-icon class="xia">
                        <ArrowDown />
                    </el-icon>
                    <input type="text" placeholder="婚礼邀请函" class="inp">
                </div>
                <button class="search"><el-icon>
                        <Search />
                    </el-icon></button>
            </div>

            <ul class="ul">
                <li>邀请函</li>
                <li>年会</li>
                <li>婚礼邀请函</li>
                <li>h5</li>
                <li>招聘</li>
                <li>乔迁邀请函</li>
                <li>腊八</li>
            </ul>
        </div>
        <!-- 滑过日历 -->
        <div class="nav-3">
            <CalendarCom />
        </div>
    </div>
</template>

<script setup>
import CalendarCom from './CalendarCom.vue';

</script>

<style scoped>
.notice-swipe {
    font-size: 12px;
    height: 30px;
    line-height: 30px;
}

.nav {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-1 {
    width: 20%;
    height: 100%;
}

.im1 {
    width: 100%;
}

.nav-2 {
    width: 35%;
    position: relative;
}

.search-box {
    width: 100%;
    height: 30px;
    display: flex;
}

.box_inp {
    width: 85%;
    border: 2px solid blue;
}

.xia:hover {
    transform: rotate(180);
}

.inp {
    /* background-color: skyblue; */
    border: none;
    outline: none;
    width: 80%;
    text-indent: 20px;
}

::placeholder {
    text-indent: 20px;
    color: #fff;
}

.search {
    width: 15%;
    height: 30px;
    border-radius: 0 25px 25px 0;
    border: none;
    background-color: blue;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}


.ul {
    display: flex;
    justify-content: space-between;
}

.ul>li:hover {
    color: skyblue;
    cursor: pointer;
}

.nav-3 {
    width: 25%;
    /* border: 1px solid #000; */
    box-shadow: -2px -2px 10px inset #ccc;
    border-radius: 5px;
}
</style>